// @APIVersion 1.0.0
// @Title HW123商城供应商开放接口
// @Description HW123商城供应商开放API
// @Contact kinwyb@aliyun.com
// @TermsOfServiceUrl http://www.hw123.com
package routers

import (
	"ShopSupplierApi/controllers"

	"github.com/astaxie/beego"
)

func init() {
	ns := beego.NewNamespace("/v1",
		beego.NSNamespace("/products",
			beego.NSInclude(
				&controllers.ProductsController{},
			),
		),
		beego.NSNamespace("/express",
			beego.NSInclude(
				&controllers.ExpressController{},
			),
		),
		beego.NSNamespace("/members",
			beego.NSInclude(
				&controllers.MembersController{},
			),
		),
		beego.NSNamespace("/condis",
			beego.NSInclude(
				&controllers.CondisController{},
			),
		),
		beego.NSNamespace("/orders",
			beego.NSInclude(
				&controllers.OrdersController{},
			),
		),
	)
	beego.AddNamespace(ns)
}
